package com.app.service;

import com.app.model.ElectronicMediaModel;
import com.app.util.Result;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface ElectronicMediaService {


    ElectronicMediaModel getElcMediaById(int id);
    ElectronicMediaModel getElcMediaByPersonId(Integer personId,Integer mediaType);

    Page<ElectronicMediaModel> getPageElcMediaList(int page, int limit, String mediaNumber, List<Integer> personIdList, Integer sortType);//社交媒体账号管理分页查询

//    List<RoleModel> getRoleListLikeName(String roleName);//根据角色名字筛选

    void update(ElectronicMediaModel model);

    void insert(ElectronicMediaModel model);

    void delete(int id);

    List<ElectronicMediaModel> selectElcMediaByPersonId(Integer personId);

    Result<Object> deleteMediaBatchByIds(String ids);
}
